package org.ethan.user.constant;

public class UserConst {

    /**
     * 手机号注册时，为了区分业务而在保存到redis时，加在手机号前的前缀，设置为常量
     */
    public static final String REGISTER_PREFIX = "register_prefix";

    public static final String BINDER_PREFIX = "binder_prefix";

    /**
     * 微信登录需要的一些常量参数
     */
    public static final String TOKEN_BY_CODE = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

    public static final String APPID = "wxd853562a0548a7d0";

    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";


    /**
     *获得微信用户的url地址常量
     */
    public static final String WX_USER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
}
